package com.rpay.model.user;

import java.math.BigDecimal;
import java.util.Date;

public class UserDO {

    private Integer id;

    private String username;

    private String password;

    private String email;

    private String name;

    private String phone;

    private String idcard;

    private String secretKey;

    private String tradePassword;

    private String shareCode;

    private String teamKey;

    private Integer parentId;

    private Integer level;

    private String status;

    private BigDecimal rippleAmount;

    private BigDecimal rpayAmount;

    private BigDecimal buyAmount;

    private Date updateTime;

    private Date createTime;

    //历史投资总和
    private BigDecimal investAmount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getTradePassword() {
        return tradePassword;
    }

    public void setTradePassword(String tradePassword) {
        this.tradePassword = tradePassword;
    }

    public String getShareCode() {
        return shareCode;
    }

    public void setShareCode(String shareCode) {
        this.shareCode = shareCode;
    }

    public String getTeamKey() {
        return teamKey;
    }

    public void setTeamKey(String teamKey) {
        this.teamKey = teamKey;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public BigDecimal getInvestAmount() {
        return investAmount;
    }

    public void setInvestAmount(BigDecimal investAmount) {
        this.investAmount = investAmount;
    }

    public BigDecimal getRippleAmount() {
        return rippleAmount;
    }

    public void setRippleAmount(BigDecimal rippleAmount) {
        this.rippleAmount = rippleAmount;
    }

    public BigDecimal getRpayAmount() {
        return rpayAmount;
    }

    public void setRpayAmount(BigDecimal rpayAmount) {
        this.rpayAmount = rpayAmount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public BigDecimal getBuyAmount() {
        return buyAmount;
    }

    public void setBuyAmount(BigDecimal buyAmount) {
        this.buyAmount = buyAmount;
    }

    @Override
    public String toString() {
        return "UserDO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", idcard='" + idcard + '\'' +
                ", secretKey='" + secretKey + '\'' +
                ", tradePassword='" + tradePassword + '\'' +
                ", shareCode='" + shareCode + '\'' +
                ", teamKey='" + teamKey + '\'' +
                ", parentId=" + parentId +
                ", level=" + level +
                ", status='" + status + '\'' +
                ", rippleAmount=" + rippleAmount +
                ", rpayAmount=" + rpayAmount +
                ", buyAmount=" + buyAmount +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                ", investAmount=" + investAmount +
                '}';
    }
}